//
//  UIColor+YPColor.h
//  KingSelected
//
//  Created by 杨鹏 on 2023/11/7.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIColor (YPColor)

+ (UIColor*)gradientFromColor:(UIColor*)c1 toColor:(UIColor*)c2 withHeight:(int)height;
+ (UIColor*)gradientFromColor:(UIColor*)c1 toColor:(UIColor*)c2 withWidth:(int)Width;

@end

NS_ASSUME_NONNULL_END
